<?php
$mod_main_topic = MBGlobal::getAdminRecomm()->getMod(5);
$main_topic_arr = MBGlobal::getAdminRecomm()->showMainTopic(0, $mod_main_topic['list'][0]['p2'], 1);
$main_topic_str="";
$link="index.php?m=topic&k=";
if($main_topic_arr["list"]){
	foreach($main_topic_arr["list"] as $i=>$t){
		$main_topic_str.="<a href=\"".$link.$t["text"]."\" target=\"_blank\" class=\"orange\">".$t["text"]."</a>&nbsp;&nbsp;";
	}
}

if($mod_main_topic['list'][0]['status']){
?>
<table width="632" border="0" cellpadding="0" cellspacing="10">
	<tr>
		<td width="16" align="left"><img src="style/images/login/laba.gif" width="11" height="10" /></td>
		<td width="598" height="24" align="left">
			<?php echo $main_topic_str;?>
		</td>
	</tr>
</table>
<?php
}
?>